package com.sa.user.msmapper;

import com.sa.user.api.dto.UserDTO;
import com.sa.user.dataobject.User;
import org.mapstruct.Mapper;

/**
 * @author Architecture Station
 * @version 1.0
 */
@Mapper(componentModel = "spring")
public interface MsUserMapper {
    UserDTO toDTO(User user);
    User toDO(UserDTO userDTO);
}
